<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue</title>
</head>
<script type="application/javascript" src="../js/vue.js"></script>
<body>

<div id="app">
<h1>{{title}}</h1>
    <h1 v-text="text"></h1>
    <button>按钮1</button>
</div>
<script>
    let app = new Vue({
        el:"#app",
        data() {
            return {
                title: "vue学习",
                text:"使用指令",
            }
        },
    })
</script>

</body>
</html>